package logic

import (
	"context"
	"gitee.com/jmdvirus/jkgo/jk/jklog"

	"autotestservice/testservices/internal/svc"
	"autotestservice/testservices/internal/types"

	"github.com/tal-tech/go-zero/core/logx"
)

type AutotestItemDeviceLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewAutotestItemDeviceLogic(ctx context.Context, svcCtx *svc.ServiceContext) AutotestItemDeviceLogic {
	return AutotestItemDeviceLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *AutotestItemDeviceLogic) AutotestItemDevice(req types.TestProjectItem) (*types.Response, error) {
	jklog.L().Debugln("test for device ", req.ProjectId)

	return &types.Response{}, nil
}
